/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/views/layout/Layout'

const baseConfigRouter = {
  path: '/baseConfig',
  component: Layout,
  redirect: 'noredirect',
  name: 'BaseConfig',
  meta: {
    title: '基础配置',
    icon: 'chart'
  },
  children: [
    {
      path: 'category',
      component: () => import('@/views/category/list'),
      name: 'CategoryManager',
      meta: { title: '分类管理', noCache: true }
    },
    {
      path: 'element',
      component: () => import('@/views/elements/list'),
      name: 'ElementManager',
      meta: { title: '拍摄元素管理', noCache: true }
    }
  ]
}

export default baseConfigRouter
